package org.gocom.components.conframe.util;

import com.eos.data.datacontext.IMUODataContext;
import com.eos.data.datacontext.DataContextManager;
import com.eos.data.datacontext.IUserObject;

public class ContextUtil {
	/**
	 * 字符集
	 */
	public static final String CONTENT_TYPE = "text/html;charset=utf-8";
	
	/**
	 * 获取当前登陆用户的UserObject对象
	 * @return
	 */
	public static IUserObject getCurrentUserObject(){
		IMUODataContext muo = DataContextManager.current().getMUODataContext();
		return muo.getUserObject();
	}
}
